package org.cx.myweb.vo;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userid;
	private String userpwd;
	private String userques;
	private String userans;
	private String usermail;
	private Integer integral;
	private Integer grade;
	private String sex;
	private String realname;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String userid) {
		this.userid = userid;
	}

	/** full constructor */
	public User(String userid, String userpwd, String userques, String userans,
			String usermail, Integer integral, Integer grade, String sex,
			String realname) {
		this.userid = userid;
		this.userpwd = userpwd;
		this.userques = userques;
		this.userans = userans;
		this.usermail = usermail;
		this.integral = integral;
		this.grade = grade;
		this.sex = sex;
		this.realname = realname;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUserpwd() {
		return this.userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

	public String getUserques() {
		return this.userques;
	}

	public void setUserques(String userques) {
		this.userques = userques;
	}

	public String getUserans() {
		return this.userans;
	}

	public void setUserans(String userans) {
		this.userans = userans;
	}

	public String getUsermail() {
		return this.usermail;
	}

	public void setUsermail(String usermail) {
		this.usermail = usermail;
	}

	public Integer getIntegral() {
		return this.integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

}